package com.situ.day8homework6;

public abstract class Car {
	String mark;
	
	
	public Car() {
		super();
	}

	public Car(String mark) {
		super();
		this.mark = mark;
	}
	
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}

	public abstract void drive();
	
	@Override
	public String toString() {
		return "Car [mark=" + mark + "]";
	}
	
	
}
